package com.qidian.mes.dv.service;

import com.qidian.mes.pojo.Subject;
import com.qidian.mes.util.dot.PagerDTO;
import com.qidian.mes.util.pojo.QdResult;

/**
 * @Author 小可怎么都睡不够
 * @Description
 * @Time 2024-04-09 15:24
 */
public interface SubjectService {
    QdResult deleteBySubjectIds(Long[] subjectIds);
    QdResult deleteBySubjectId(Long subjectId);
    QdResult updateSubject(Subject subject);
    QdResult queryBySubjectId(Long subjectId);
    QdResult saveSubject(Subject subject);
    QdResult<PagerDTO<Subject>> queryByPage(Subject subject, int page, int limit);
}
